from django.contrib import admin

from common.base_admin import BaseAdmin
from study.models import ActivityLearning


# Register your models here.


class ActivityLearningAdmin(BaseAdmin):
    list_display = ["name","date","periods","changsuo","theme"]
    ordering = ["-date"]
    list_filter = ["changsuo","theme","date"]
    search_fields = ["name","content"]
admin.site.register(ActivityLearning, ActivityLearningAdmin)